package com.demo.entity;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * (Category)实体类
 *
 * @author Sakura
 * @since 2023-11-26 17:11:07
 */
@Data
public class Category implements Serializable {
    private static final long serialVersionUID = 282872258626152503L;

    private Long id;

    /**
     * 分类名称
     */
    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}


